package com.bs.service;

import java.util.List;

import org.apache.commons.beanutils.LazyDynaBean;

import com.bs.bean.Item;

public interface ItemService {
	public void save(Item item) throws Exception;
	
	public List<Item> findAll(int start, int limit);
	
	public List<Item> findAll(String start, String end, String type);
	
	public List<Item> findAll();
	
	public int batchDelete(String ids);
	
	public int update(Item item, String type) throws Exception;
	
	public int totalCount();
	
	public List<Item> sumBySeason(String start, String end, String type);
	
	public List<Item> query(Item item);
	
	public List<LazyDynaBean> busiBonusBySeason(String start, String end);
	
	public List<LazyDynaBean> supportBonusBySeason(String start, String end);
	
	public List<LazyDynaBean> managerBonusBySeason(String start, String end);
	
	public List<LazyDynaBean> teamBonusBySeason(String start, String end);
	
	public List<LazyDynaBean> sumAllPersonBySeason(String start, String end);
}
